package oracle

import (
	"sync"

	"github.com/micro-plat/hydra"
)

var once sync.Once

func init() {
	once.Do(func() {
		hydra.OnReadying(func() {
			hydra.Installer.DB.AddSQL(dds_area_info, dds_dictionary_info)
		})

		hydra.OnReady(func() {
			hydra.Installer.DB.AddSQL(
				dds_area_info_data,
				dds_dictionary_info_data)
		})
	})
}
